<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Set the global add color to the rgba value specified</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.swf-addbuttonrecord.html">swf_addbuttonrecord</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.swf-closefile.html">swf_closefile</a></div>
 <div class="up"><a href="ref.swf.html">SWF 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.swf-addcolor" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">swf_addcolor</h1>
  <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">swf_addcolor</span> &mdash; <span class="dc-title">Set the global add color to the rgba value specified</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.swf-addcolor-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>swf_addcolor</strong></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$r</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$g</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$b</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$a</code></span>
   )</div>

  <p class="para rdfs-comment">
   Sets the global add color to the specified color. This color is then
   implicitly used by the <span class="function"><a href="function.swf-placeobject.html" class="function">swf_placeobject()</a></span>,
   <span class="function"><a href="function.swf-modifyobject.html" class="function">swf_modifyobject()</a></span> and 
   <span class="function"><a href="function.swf-addbuttonrecord.html" class="function">swf_addbuttonrecord()</a></span> functions.
  </p>
  <p class="para">
   The color of the object will be add by the given values when the object is
   written to the screen.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.swf-addcolor-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">r</code></em></dt>

     <dd>

      <p class="para">
       Red value
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">g</code></em></dt>

     <dd>

      <p class="para">
       Green value
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">b</code></em></dt>

     <dd>

      <p class="para">
       Blue value
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">a</code></em></dt>

     <dd>

      <p class="para">
       Alpha value
      </p>
     </dd>

    
   </dl>

  </p>
  <p class="para">
   These parameters can be either positive or negative.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.swf-addcolor-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.swf-addbuttonrecord.html">swf_addbuttonrecord</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.swf-closefile.html">swf_closefile</a></div>
 <div class="up"><a href="ref.swf.html">SWF 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
